package ooday04;

public class Master {
    void feed(Animal animal){  //喂动物  相当于Animal animal = new Dog("小黑",1,"黑")
        animal.eat();
    }
}
